﻿<Window x:Class="QueryEditor"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="SQL Editor" Height="341" Width="633" Icon="assets/db.ico">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="auto" />
        </Grid.RowDefinitions>
        <avalonEdit:TextEditor
                    xmlns:avalonEdit="http://icsharpcode.net/sharpdevelop/avalonedit"
                    Name="textEditor"
                    FontFamily="Consolas"
                    FontSize="10pt" 
                    VerticalAlignment="Stretch"
                    HorizontalAlignment="Stretch"
                    ShowLineNumbers="True"
                    Grid.Row="0"/>
        <Grid Grid.Row="1" Margin="5,10,5,5">

            <Button Name="CancelBtn" HorizontalAlignment="Left" Width="70" Click="CancelBtn_Click">_Cancel</Button>
            <Button Name="SaveBtn" HorizontalAlignment="Right" Width="70" Click="SaveBtn_Click">_Save</Button>
        </Grid>
    </Grid>
</Window>
